package com.bdit.ydcb.model;

import java.io.Serializable;

/**
 * Created by shengpj on 2017/7/3.
 */

public class LoginResult implements Serializable {
    private static final long serialVersionUID = -828322761336296999L;
    private String userid;
    private String username;
    private String name;
    private boolean mobileLogin;
    public String  JSESSIONID;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isMobileLogin() {
        return mobileLogin;
    }

    public void setMobileLogin(boolean mobileLogin) {
        this.mobileLogin = mobileLogin;
    }

    @Override
    public String toString() {
        return "LoginResult{\n" +//
                "\tuserid='" + userid + "\'\n" +//
                "\tusername='" + username + "\'\n" +//
                "\tname='" + name + "\'\n" +//
                "\tmobileLogin='" + mobileLogin + "\'\n" +//
                "\tJSESSIONID='" + JSESSIONID + "\'\n" +//
                '}';
    }
}
